﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using MYData.Entity.SystemModels;

namespace MYData.Entity.DomainModels.System
{
    [Table("Sys_Text")]
    [Entity(ApiInput = typeof(ApiSys_UserInput), ApiOutput = typeof(ApiSys_UserOutput))]
    public class Sys_Text : BaseEntity

    {
        [Key]
        [Display(Name = "Text_Id")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int Text_Id { get; set; }

        /// <summary>
        ///用户名
        /// </summary>
        [Display(Name = "用户名")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string TextName { get; set; }

    }
}
